package com.jwdf.uda.event;

import com.jwdf.uda.ui.fragment.question.bean.NewVote;
import com.jwdf.uda.utils.EventBusUtil;

import java.util.List;

/**
 * Created by Administrator on 2016/9/5.
 */
public class NewProblemsEvent implements EventBusUtil.IEvent {
    public static final int EVENT_COMMENT_SAVE = 0x1;//执行保存事件
    public static final int EVENT_COMMENT_PUBLISHED = 0x2;//用户点击发表按钮
    public static final int EVENT_COMMENT_VOTE=0x3;//投票信息
    public static final int EVENT_COMMENT_SUBMIT=0x4;//编辑完成   问题详情接收这个事件
    public static final int EVENT_COMMENT_RELEASE=0x5;//新增问题完成  问答列表 刷新 接收事件
    public static final int EVENT_COMMENT_DELETE=0x6;//新增问题完成  问答列表 刷新 接收事件
    private int event;
    private List<NewVote> mNewVoteList;
    public NewProblemsEvent(int event){
        this.event = event;
    }
    public NewProblemsEvent(int event,List<NewVote> newVoteList){
        this.event = event;
        this.mNewVoteList=newVoteList;
    }
    public int getEvent(){
        return event;
    }

    public List<NewVote> getNewVoteList(){
        return mNewVoteList;
    }
}
